<?php TPL::output('global/header.tpl.htm'); ?>

<!--header_e-->
<div class="bd pbd">
 
  <!--left_nav_s-->

  <div class="contant_left readns_discus ps-wd">
  <?php TPL::output('account/setting/menu.tpl.htm'); ?>
	<div id="td-6">
   
   <div class="wb-div">
	<?php if (!($this->sina_weibo && $this->qq_weibo)) { ?> 
		<h2>未绑定微博帐号：</h2>
		<?php if(!$this->sina_weibo AND get_setting('sina_weibo_enabled') == 'Y') { ?><p class="sc-wb"><a href="account/sina/binding/" title="新浪微博"><img src="<?php echo G_STATIC_URL; ?>/common/icoSina.gif"/>绑定新浪微博帐号</a></p><?php } ?>
		
		<?php if (!$this->qq_weibo AND get_setting('qq_t_enabled') == 'Y') { ?><p class="sc-wb"><a href="account/qq/binding/"  title="腾讯微博"><img src="<?php echo G_STATIC_URL; ?>/common/share_tx_wb.gif"/>绑定腾讯微博帐号</a></p><?php } ?>
		<p class="p">绑定微博之后，可以方便把精彩问答分享到该微博，并可以邀请你的微博好友来回复该问题或者加入 <?php $this->eprint(get_setting('site_name')); ?></p>
	<?php } ?>

	<?php if ($this->sina_weibo || $this->qq_weibo) { ?> 
		<h2>已经绑定微博帐号：</h2>
		
		<?php if ($this->sina_weibo AND get_setting('sina_weibo_enabled') == 'Y') { ?>
			<p class="sc-wb"><a href="account/sina/del_bind/sina_id-<?php echo $this->sina_weibo["id"]; ?>" class="ex">取消绑定</a><img src="<?php echo G_STATIC_URL; ?>/common/icoSina.gif"/>新浪微博：<a href="javascript:;" class="a"><?php echo $this->sina_weibo["name"]; ?></a></p>
		<?php } ?>
		
		<?php if ($this->qq_weibo AND get_setting('qq_t_enabled') == 'Y') { ?>
			<p class="sc-wb"><a href="account/qq/del_bind/name-<?php $this->qq_weibo["nick"]; ?>" class="ex">取消绑定</a><img src="<?php echo G_STATIC_URL; ?>/common/share_tx_wb.gif"/>腾讯微博：<a href="javascript:;"  class="a"><?php echo $this->qq_weibo["nick"]; ?></a></p>
		<?php } ?>
	<?php } ?>

	</div>
	</div>
    
	</div>

	<!--微博绑定_e-->
    </div>
  <!--left_nav_e-->
</div>

<?php TPL::output('global/footer.tpl.htm'); ?>